package com.wkbb.basic.service;

import com.wkbb.basic.model.OrganizationWebank;
import com.wkbb.basic.model.YoutuPerson;
import com.wkbb.basic.utils.ImageOfbase64UtilDto;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.ResultDTO;


public interface WebankService extends BaseService<OrganizationWebank> {

    ResultDTO<Object> addWeBankUserFace(String picUrlA, String personId, Long orgId, Long accountId, Long userId, Integer type, Short similar) throws Exception;

    Boolean checkPersonId(String personId, Long userId);

    void addWebankPerson(Long accountId, Long userId, Long orgId, String personId, String url, Integer type, Short similar);

    String modifyFace(String personId, Long orgId, Boolean flag, String url, Integer type, Short similar) ;

//    Boolean webankCheckResult(String result);

    void saveUserFacePersonConfig(Long userId, Long orgId, Short similar, String personId);

    String createPersonId(Long userId);

    String getUserNameByUserId(Long userId, String personId);

    YoutuPerson getYoutuPersonByParam(String personId);

    void checkPersonConfig(Long userId, Long orgId, Integer type, Short similar, String personId);

//    ResultDTO<Object> returnWebankResult(String result);
}
